package cn.edu.zust.zql.service;

import cn.edu.zust.zql.model.AccUser;

import java.util.List;

/**
 * Created by Administrator on 2016/12/19.
 */
public interface AccUserService {
    /**
     * 根据用户编号获取用户
     * @param userid
     * @return
     */
    public AccUser getAccUserByID(String userid);

    /**
     * 验证账号密码是否正确
     * @param accUser
     * @return
     */
    public AccUser validateUser(AccUser accUser);

    /**
     * 获取所有的用户信息
     * @return
     */
    public List<AccUser> getAllUser();

}
